﻿using System;
using System.ComponentModel;
using System.Numerics;
using TaleWorlds.Core;
using TaleWorlds.GauntletUI;
using TaleWorlds.GauntletUI.BaseTypes;
using TaleWorlds.GauntletUI.Data;
using TaleWorlds.GauntletUI.ExtraWidgets;
using TaleWorlds.Library;
using TaleWorlds.MountAndBlade.GauntletUI.Widgets;
using TaleWorlds.MountAndBlade.GauntletUI.Widgets.Order;
using TaleWorlds.MountAndBlade.ViewModelCollection.Input;
using TaleWorlds.MountAndBlade.ViewModelCollection.Order;

namespace TaleWorlds.MountAndBlade.GauntletUI.AutoGenerated0
{
	// Token: 0x02000034 RID: 52
	public class OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_15_OrderTransferTroopItem__DependendPrefab : OrderTroopItemBrushWidget
	{
		// Token: 0x06000AC9 RID: 2761 RVA: 0x0004C221 File Offset: 0x0004A421
		public OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_15_OrderTransferTroopItem__DependendPrefab(UIContext context) : base(context)
		{
		}

		// Token: 0x06000ACA RID: 2762 RVA: 0x0004C22C File Offset: 0x0004A42C
		public void CreateWidgets()
		{
			this._widget = this;
			this._widget_0 = new GridWidget(base.Context);
			this._widget.AddChild(this._widget_0);
			this._widget_1 = new ListPanel(base.Context);
			this._widget.AddChild(this._widget_1);
			this._widget_1_0 = new Widget(base.Context);
			this._widget_1.AddChild(this._widget_1_0);
			this._widget_1_1 = new TextWidget(base.Context);
			this._widget_1.AddChild(this._widget_1_1);
			this._widget_2 = new Widget(base.Context);
			this._widget.AddChild(this._widget_2);
			this._widget_2_0 = new InputKeyVisualWidget(base.Context);
			this._widget_2.AddChild(this._widget_2_0);
			this._widget_3 = new SliderWidget(base.Context);
			this._widget.AddChild(this._widget_3);
			this._widget_3_0 = new Widget(base.Context);
			this._widget_3.AddChild(this._widget_3_0);
			this._widget_3_1 = new Widget(base.Context);
			this._widget_3.AddChild(this._widget_3_1);
			this._widget_4 = new Widget(base.Context);
			this._widget.AddChild(this._widget_4);
			this._widget_5 = new ImageIdentifierWidget(base.Context);
			this._widget.AddChild(this._widget_5);
			this._widget_6 = new GridWidget(base.Context);
			this._widget.AddChild(this._widget_6);
		}

		// Token: 0x06000ACB RID: 2763 RVA: 0x0004C3D8 File Offset: 0x0004A5D8
		public void SetIds()
		{
			this._widget_0.Id = "PrimaryColorGrid";
			this._widget_3_0.Id = "Filler";
			this._widget_3_1.Id = "SliderHandle";
			this._widget_4.Id = "SelectionFrame";
		}

		// Token: 0x06000ACC RID: 2764 RVA: 0x0004C428 File Offset: 0x0004A628
		public void SetAttributes()
		{
			base.WidthSizePolicy = 0;
			base.HeightSizePolicy = 0;
			base.SuggestedWidth = 109.5f;
			base.SuggestedHeight = 163.5f;
			this._widget_0.WidthSizePolicy = 2;
			this._widget_0.HeightSizePolicy = 2;
			this._widget_0.HorizontalAlignment = 1;
			this._widget_0.VerticalAlignment = 0;
			this._widget_0.MarginTop = 50f;
			this._widget_0.ColumnCount = 2;
			this._widget_0.DefaultCellHeight = 46f;
			this._widget_0.DefaultCellWidth = 46f;
			this._widget_1.WidthSizePolicy = 2;
			this._widget_1.HeightSizePolicy = 2;
			this._widget_1.MarginLeft = 15f;
			this._widget_1.MarginTop = 10f;
			this._widget_1_0.WidthSizePolicy = 0;
			this._widget_1_0.HeightSizePolicy = 0;
			this._widget_1_0.SuggestedWidth = 30f;
			this._widget_1_0.SuggestedHeight = 30f;
			this._widget_1_0.VerticalAlignment = 1;
			this._widget_1_0.Sprite = base.Context.SpriteData.GetSprite("General\\Icons\\Morale@2x");
			this._widget_1_1.WidthSizePolicy = 2;
			this._widget_1_1.HeightSizePolicy = 2;
			this._widget_1_1.MarginLeft = 1f;
			this._widget_1_1.MarginTop = 8f;
			this._widget_1_1.VerticalAlignment = 1;
			this._widget_1_1.Brush = base.Context.GetBrush("Order.Troop.CountText");
			this._widget_1_1.Brush.FontSize = 20;
			this._widget_2.WidthSizePolicy = 2;
			this._widget_2.HeightSizePolicy = 2;
			this._widget_2.HorizontalAlignment = 2;
			this._widget_2.MarginTop = 5f;
			this._widget_2.PositionXOffset = 15f;
			this._widget_2_0.WidthSizePolicy = 0;
			this._widget_2_0.HeightSizePolicy = 0;
			this._widget_2_0.SuggestedWidth = 60f;
			this._widget_2_0.SuggestedHeight = 60f;
			this._widget_3.WidthSizePolicy = 0;
			this._widget_3.HeightSizePolicy = 0;
			this._widget_3.SuggestedHeight = 3f;
			this._widget_3.SuggestedWidth = 65f;
			this._widget_3.HorizontalAlignment = 1;
			this._widget_3.VerticalAlignment = 2;
			this._widget_3.MarginBottom = 13f;
			this._widget_3.MarginLeft = 3f;
			this._widget_3.DoNotUpdateHandleSize = true;
			this._widget_3.Filler = this._widget_3_0;
			this._widget_3.Handle = this._widget_3_1;
			this._widget_3.MaxValueFloat = 1f;
			this._widget_3.MinValueFloat = 0f;
			this._widget_3.AlignmentAxis = 0;
			this._widget_3_0.DoNotAcceptEvents = true;
			this._widget_3_0.WidthSizePolicy = 0;
			this._widget_3_0.HeightSizePolicy = 0;
			this._widget_3_0.SuggestedHeight = 3f;
			this._widget_3_0.SuggestedWidth = 100f;
			this._widget_3_0.VerticalAlignment = 2;
			this._widget_3_0.Sprite = base.Context.SpriteData.GetSprite("BlankWhiteSquare_9");
			this._widget_3_1.WidthSizePolicy = 0;
			this._widget_3_1.HeightSizePolicy = 0;
			this._widget_3_1.SuggestedWidth = 2f;
			this._widget_3_1.SuggestedHeight = 2f;
			this._widget_3_1.HorizontalAlignment = 0;
			this._widget_3_1.VerticalAlignment = 1;
			this._widget_3_1.IsVisible = false;
			this._widget_4.WidthSizePolicy = 1;
			this._widget_4.HeightSizePolicy = 1;
			this._widget_4.Sprite = base.Context.SpriteData.GetSprite("order_formation_selector_9");
			this._widget_4.Color = new Color(0f, 1f, 0f, 1f);
			this._widget_4.IsVisible = false;
			this._widget_5.DoNotAcceptEvents = true;
			this._widget_5.WidthSizePolicy = 0;
			this._widget_5.HeightSizePolicy = 0;
			this._widget_5.SuggestedWidth = 35f;
			this._widget_5.SuggestedHeight = 25f;
			this._widget_5.HorizontalAlignment = 1;
			this._widget_5.VerticalAlignment = 0;
			this._widget_5.PositionYOffset = -22f;
			this._widget_6.WidthSizePolicy = 2;
			this._widget_6.HeightSizePolicy = 2;
			this._widget_6.HorizontalAlignment = 0;
			this._widget_6.VerticalAlignment = 2;
			this._widget_6.MarginBottom = 37f;
			this._widget_6.MarginLeft = 17f;
			this._widget_6.ColumnCount = 2;
			this._widget_6.DefaultCellHeight = 20f;
			this._widget_6.DefaultCellWidth = 20f;
		}

		// Token: 0x06000ACD RID: 2765 RVA: 0x0004C934 File Offset: 0x0004AB34
		public void DestroyDataSource()
		{
			if (this._datasource_Root != null)
			{
				this._datasource_Root.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root;
				this._datasource_Root.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root);
				this._widget.PropertyChanged -= this.PropertyChangedListenerOf_widget;
				this._widget.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget;
				this._widget.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget;
				this._widget.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget;
				this._widget.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget;
				this._widget.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget;
				this._widget.intPropertyChanged -= this.intPropertyChangedListenerOf_widget;
				this._widget.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget;
				this._widget.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget;
				this._widget_1_1.PropertyChanged -= this.PropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_1_1;
				this._widget_2.PropertyChanged -= this.PropertyChangedListenerOf_widget_2;
				this._widget_2.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_2;
				this._widget_2.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_2;
				this._widget_2.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_2;
				this._widget_2.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_2;
				this._widget_2.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_2;
				this._widget_2.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_2;
				this._widget_2.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_2;
				this._widget_2.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_2;
				this._widget_3.PropertyChanged -= this.PropertyChangedListenerOf_widget_3;
				this._widget_3.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_3;
				this._widget_3.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_3;
				this._widget_3.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_3;
				this._widget_3.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_3;
				this._widget_3.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_3;
				this._widget_3.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_3;
				this._widget_3.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_3;
				this._widget_3.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_3;
				if (this._datasource_Root_ActiveFormationClasses != null)
				{
					this._datasource_Root_ActiveFormationClasses.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFormationClassesChanged);
					for (int i = this._widget_0.ChildCount - 1; i >= 0; i--)
					{
						Widget child = this._widget_0.GetChild(i);
						((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate)child).OnBeforeRemovedChild(child);
						((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate)this._widget_0.GetChild(i)).DestroyDataSource();
					}
					this._datasource_Root_ActiveFormationClasses = null;
				}
				if (this._datasource_Root_SelectionKey != null)
				{
					this._datasource_Root_SelectionKey.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root_SelectionKey;
					this._datasource_Root_SelectionKey.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_SelectionKey);
					this._widget_2_0.PropertyChanged -= this.PropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_2_0;
					this._datasource_Root_SelectionKey = null;
				}
				if (this._datasource_Root_CommanderImageIdentifier != null)
				{
					this._datasource_Root_CommanderImageIdentifier.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root_CommanderImageIdentifier;
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._widget_5.PropertyChanged -= this.PropertyChangedListenerOf_widget_5;
					this._widget_5.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_5;
					this._widget_5.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_5;
					this._widget_5.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_5;
					this._widget_5.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_5;
					this._widget_5.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_5;
					this._widget_5.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_5;
					this._widget_5.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_5;
					this._widget_5.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_5;
					this._datasource_Root_CommanderImageIdentifier = null;
				}
				if (this._datasource_Root_ActiveFilters != null)
				{
					this._datasource_Root_ActiveFilters.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFiltersChanged);
					for (int j = this._widget_6.ChildCount - 1; j >= 0; j--)
					{
						Widget child2 = this._widget_6.GetChild(j);
						((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate)child2).OnBeforeRemovedChild(child2);
						((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate)this._widget_6.GetChild(j)).DestroyDataSource();
					}
					this._datasource_Root_ActiveFilters = null;
				}
				this._datasource_Root = null;
			}
		}

		// Token: 0x06000ACE RID: 2766 RVA: 0x0004D198 File Offset: 0x0004B398
		public void SetDataSource(OrderTroopItemVM dataSource)
		{
			this.RefreshDataSource_datasource_Root(dataSource);
		}

		// Token: 0x06000ACF RID: 2767 RVA: 0x0004D1A1 File Offset: 0x0004B3A1
		private void PropertyChangedListenerOf_widget(PropertyOwnerObject propertyOwnerObject, string propertyName, object e)
		{
			this.HandleWidgetPropertyChangeOf_widget(propertyName);
		}

		// Token: 0x06000AD0 RID: 2768 RVA: 0x0004D1AA File Offset: 0x0004B3AA
		private void boolPropertyChangedListenerOf_widget(PropertyOwnerObject propertyOwnerObject, string propertyName, bool e)
		{
			this.HandleWidgetPropertyChangeOf_widget(propertyName);
		}

		// Token: 0x06000AD1 RID: 2769 RVA: 0x0004D1B3 File Offset: 0x0004B3B3
		private void floatPropertyChangedListenerOf_widget(PropertyOwnerObject propertyOwnerObject, string propertyName, float e)
		{
			this.HandleWidgetPropertyChangeOf_widget(propertyName);
		}

		// Token: 0x06000AD2 RID: 2770 RVA: 0x0004D1BC File Offset: 0x0004B3BC
		private void Vec2PropertyChangedListenerOf_widget(PropertyOwnerObject propertyOwnerObject, string propertyName, Vec2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget(propertyName);
		}

		// Token: 0x06000AD3 RID: 2771 RVA: 0x0004D1C5 File Offset: 0x0004B3C5
		private void Vector2PropertyChangedListenerOf_widget(PropertyOwnerObject propertyOwnerObject, string propertyName, Vector2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget(propertyName);
		}

		// Token: 0x06000AD4 RID: 2772 RVA: 0x0004D1CE File Offset: 0x0004B3CE
		private void doublePropertyChangedListenerOf_widget(PropertyOwnerObject propertyOwnerObject, string propertyName, double e)
		{
			this.HandleWidgetPropertyChangeOf_widget(propertyName);
		}

		// Token: 0x06000AD5 RID: 2773 RVA: 0x0004D1D7 File Offset: 0x0004B3D7
		private void intPropertyChangedListenerOf_widget(PropertyOwnerObject propertyOwnerObject, string propertyName, int e)
		{
			this.HandleWidgetPropertyChangeOf_widget(propertyName);
		}

		// Token: 0x06000AD6 RID: 2774 RVA: 0x0004D1E0 File Offset: 0x0004B3E0
		private void uintPropertyChangedListenerOf_widget(PropertyOwnerObject propertyOwnerObject, string propertyName, uint e)
		{
			this.HandleWidgetPropertyChangeOf_widget(propertyName);
		}

		// Token: 0x06000AD7 RID: 2775 RVA: 0x0004D1E9 File Offset: 0x0004B3E9
		private void ColorPropertyChangedListenerOf_widget(PropertyOwnerObject propertyOwnerObject, string propertyName, Color e)
		{
			this.HandleWidgetPropertyChangeOf_widget(propertyName);
		}

		// Token: 0x06000AD8 RID: 2776 RVA: 0x0004D1F2 File Offset: 0x0004B3F2
		private void HandleWidgetPropertyChangeOf_widget(string propertyName)
		{
			propertyName == "FormationClass";
		}

		// Token: 0x06000AD9 RID: 2777 RVA: 0x0004D200 File Offset: 0x0004B400
		private void PropertyChangedListenerOf_widget_1_1(PropertyOwnerObject propertyOwnerObject, string propertyName, object e)
		{
			this.HandleWidgetPropertyChangeOf_widget_1_1(propertyName);
		}

		// Token: 0x06000ADA RID: 2778 RVA: 0x0004D209 File Offset: 0x0004B409
		private void boolPropertyChangedListenerOf_widget_1_1(PropertyOwnerObject propertyOwnerObject, string propertyName, bool e)
		{
			this.HandleWidgetPropertyChangeOf_widget_1_1(propertyName);
		}

		// Token: 0x06000ADB RID: 2779 RVA: 0x0004D212 File Offset: 0x0004B412
		private void floatPropertyChangedListenerOf_widget_1_1(PropertyOwnerObject propertyOwnerObject, string propertyName, float e)
		{
			this.HandleWidgetPropertyChangeOf_widget_1_1(propertyName);
		}

		// Token: 0x06000ADC RID: 2780 RVA: 0x0004D21B File Offset: 0x0004B41B
		private void Vec2PropertyChangedListenerOf_widget_1_1(PropertyOwnerObject propertyOwnerObject, string propertyName, Vec2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_1_1(propertyName);
		}

		// Token: 0x06000ADD RID: 2781 RVA: 0x0004D224 File Offset: 0x0004B424
		private void Vector2PropertyChangedListenerOf_widget_1_1(PropertyOwnerObject propertyOwnerObject, string propertyName, Vector2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_1_1(propertyName);
		}

		// Token: 0x06000ADE RID: 2782 RVA: 0x0004D22D File Offset: 0x0004B42D
		private void doublePropertyChangedListenerOf_widget_1_1(PropertyOwnerObject propertyOwnerObject, string propertyName, double e)
		{
			this.HandleWidgetPropertyChangeOf_widget_1_1(propertyName);
		}

		// Token: 0x06000ADF RID: 2783 RVA: 0x0004D236 File Offset: 0x0004B436
		private void intPropertyChangedListenerOf_widget_1_1(PropertyOwnerObject propertyOwnerObject, string propertyName, int e)
		{
			this.HandleWidgetPropertyChangeOf_widget_1_1(propertyName);
		}

		// Token: 0x06000AE0 RID: 2784 RVA: 0x0004D23F File Offset: 0x0004B43F
		private void uintPropertyChangedListenerOf_widget_1_1(PropertyOwnerObject propertyOwnerObject, string propertyName, uint e)
		{
			this.HandleWidgetPropertyChangeOf_widget_1_1(propertyName);
		}

		// Token: 0x06000AE1 RID: 2785 RVA: 0x0004D248 File Offset: 0x0004B448
		private void ColorPropertyChangedListenerOf_widget_1_1(PropertyOwnerObject propertyOwnerObject, string propertyName, Color e)
		{
			this.HandleWidgetPropertyChangeOf_widget_1_1(propertyName);
		}

		// Token: 0x06000AE2 RID: 2786 RVA: 0x0004D254 File Offset: 0x0004B454
		private void HandleWidgetPropertyChangeOf_widget_1_1(string propertyName)
		{
			if (propertyName == "IntText")
			{
				this._datasource_Root.Morale = this._widget_1_1.IntText;
				return;
			}
			if (propertyName == "IsVisible")
			{
				this._datasource_Root.HaveTroops = this._widget_1_1.IsVisible;
				return;
			}
		}

		// Token: 0x06000AE3 RID: 2787 RVA: 0x0004D2A9 File Offset: 0x0004B4A9
		private void PropertyChangedListenerOf_widget_2(PropertyOwnerObject propertyOwnerObject, string propertyName, object e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2(propertyName);
		}

		// Token: 0x06000AE4 RID: 2788 RVA: 0x0004D2B2 File Offset: 0x0004B4B2
		private void boolPropertyChangedListenerOf_widget_2(PropertyOwnerObject propertyOwnerObject, string propertyName, bool e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2(propertyName);
		}

		// Token: 0x06000AE5 RID: 2789 RVA: 0x0004D2BB File Offset: 0x0004B4BB
		private void floatPropertyChangedListenerOf_widget_2(PropertyOwnerObject propertyOwnerObject, string propertyName, float e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2(propertyName);
		}

		// Token: 0x06000AE6 RID: 2790 RVA: 0x0004D2C4 File Offset: 0x0004B4C4
		private void Vec2PropertyChangedListenerOf_widget_2(PropertyOwnerObject propertyOwnerObject, string propertyName, Vec2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2(propertyName);
		}

		// Token: 0x06000AE7 RID: 2791 RVA: 0x0004D2CD File Offset: 0x0004B4CD
		private void Vector2PropertyChangedListenerOf_widget_2(PropertyOwnerObject propertyOwnerObject, string propertyName, Vector2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2(propertyName);
		}

		// Token: 0x06000AE8 RID: 2792 RVA: 0x0004D2D6 File Offset: 0x0004B4D6
		private void doublePropertyChangedListenerOf_widget_2(PropertyOwnerObject propertyOwnerObject, string propertyName, double e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2(propertyName);
		}

		// Token: 0x06000AE9 RID: 2793 RVA: 0x0004D2DF File Offset: 0x0004B4DF
		private void intPropertyChangedListenerOf_widget_2(PropertyOwnerObject propertyOwnerObject, string propertyName, int e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2(propertyName);
		}

		// Token: 0x06000AEA RID: 2794 RVA: 0x0004D2E8 File Offset: 0x0004B4E8
		private void uintPropertyChangedListenerOf_widget_2(PropertyOwnerObject propertyOwnerObject, string propertyName, uint e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2(propertyName);
		}

		// Token: 0x06000AEB RID: 2795 RVA: 0x0004D2F1 File Offset: 0x0004B4F1
		private void ColorPropertyChangedListenerOf_widget_2(PropertyOwnerObject propertyOwnerObject, string propertyName, Color e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2(propertyName);
		}

		// Token: 0x06000AEC RID: 2796 RVA: 0x0004D2FA File Offset: 0x0004B4FA
		private void HandleWidgetPropertyChangeOf_widget_2(string propertyName)
		{
			if (propertyName == "IsVisible")
			{
				this._datasource_Root.HaveTroops = this._widget_2.IsVisible;
				return;
			}
		}

		// Token: 0x06000AED RID: 2797 RVA: 0x0004D320 File Offset: 0x0004B520
		private void PropertyChangedListenerOf_widget_3(PropertyOwnerObject propertyOwnerObject, string propertyName, object e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3(propertyName);
		}

		// Token: 0x06000AEE RID: 2798 RVA: 0x0004D329 File Offset: 0x0004B529
		private void boolPropertyChangedListenerOf_widget_3(PropertyOwnerObject propertyOwnerObject, string propertyName, bool e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3(propertyName);
		}

		// Token: 0x06000AEF RID: 2799 RVA: 0x0004D332 File Offset: 0x0004B532
		private void floatPropertyChangedListenerOf_widget_3(PropertyOwnerObject propertyOwnerObject, string propertyName, float e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3(propertyName);
		}

		// Token: 0x06000AF0 RID: 2800 RVA: 0x0004D33B File Offset: 0x0004B53B
		private void Vec2PropertyChangedListenerOf_widget_3(PropertyOwnerObject propertyOwnerObject, string propertyName, Vec2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3(propertyName);
		}

		// Token: 0x06000AF1 RID: 2801 RVA: 0x0004D344 File Offset: 0x0004B544
		private void Vector2PropertyChangedListenerOf_widget_3(PropertyOwnerObject propertyOwnerObject, string propertyName, Vector2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3(propertyName);
		}

		// Token: 0x06000AF2 RID: 2802 RVA: 0x0004D34D File Offset: 0x0004B54D
		private void doublePropertyChangedListenerOf_widget_3(PropertyOwnerObject propertyOwnerObject, string propertyName, double e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3(propertyName);
		}

		// Token: 0x06000AF3 RID: 2803 RVA: 0x0004D356 File Offset: 0x0004B556
		private void intPropertyChangedListenerOf_widget_3(PropertyOwnerObject propertyOwnerObject, string propertyName, int e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3(propertyName);
		}

		// Token: 0x06000AF4 RID: 2804 RVA: 0x0004D35F File Offset: 0x0004B55F
		private void uintPropertyChangedListenerOf_widget_3(PropertyOwnerObject propertyOwnerObject, string propertyName, uint e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3(propertyName);
		}

		// Token: 0x06000AF5 RID: 2805 RVA: 0x0004D368 File Offset: 0x0004B568
		private void ColorPropertyChangedListenerOf_widget_3(PropertyOwnerObject propertyOwnerObject, string propertyName, Color e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3(propertyName);
		}

		// Token: 0x06000AF6 RID: 2806 RVA: 0x0004D374 File Offset: 0x0004B574
		private void HandleWidgetPropertyChangeOf_widget_3(string propertyName)
		{
			if (propertyName == "ValueFloat")
			{
				this._datasource_Root.AmmoPercentage = this._widget_3.ValueFloat;
				return;
			}
			if (propertyName == "IsVisible")
			{
				this._datasource_Root.IsAmmoAvailable = this._widget_3.IsVisible;
				return;
			}
		}

		// Token: 0x06000AF7 RID: 2807 RVA: 0x0004D3C9 File Offset: 0x0004B5C9
		private void PropertyChangedListenerOf_widget_2_0(PropertyOwnerObject propertyOwnerObject, string propertyName, object e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2_0(propertyName);
		}

		// Token: 0x06000AF8 RID: 2808 RVA: 0x0004D3D2 File Offset: 0x0004B5D2
		private void boolPropertyChangedListenerOf_widget_2_0(PropertyOwnerObject propertyOwnerObject, string propertyName, bool e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2_0(propertyName);
		}

		// Token: 0x06000AF9 RID: 2809 RVA: 0x0004D3DB File Offset: 0x0004B5DB
		private void floatPropertyChangedListenerOf_widget_2_0(PropertyOwnerObject propertyOwnerObject, string propertyName, float e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2_0(propertyName);
		}

		// Token: 0x06000AFA RID: 2810 RVA: 0x0004D3E4 File Offset: 0x0004B5E4
		private void Vec2PropertyChangedListenerOf_widget_2_0(PropertyOwnerObject propertyOwnerObject, string propertyName, Vec2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2_0(propertyName);
		}

		// Token: 0x06000AFB RID: 2811 RVA: 0x0004D3ED File Offset: 0x0004B5ED
		private void Vector2PropertyChangedListenerOf_widget_2_0(PropertyOwnerObject propertyOwnerObject, string propertyName, Vector2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2_0(propertyName);
		}

		// Token: 0x06000AFC RID: 2812 RVA: 0x0004D3F6 File Offset: 0x0004B5F6
		private void doublePropertyChangedListenerOf_widget_2_0(PropertyOwnerObject propertyOwnerObject, string propertyName, double e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2_0(propertyName);
		}

		// Token: 0x06000AFD RID: 2813 RVA: 0x0004D3FF File Offset: 0x0004B5FF
		private void intPropertyChangedListenerOf_widget_2_0(PropertyOwnerObject propertyOwnerObject, string propertyName, int e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2_0(propertyName);
		}

		// Token: 0x06000AFE RID: 2814 RVA: 0x0004D408 File Offset: 0x0004B608
		private void uintPropertyChangedListenerOf_widget_2_0(PropertyOwnerObject propertyOwnerObject, string propertyName, uint e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2_0(propertyName);
		}

		// Token: 0x06000AFF RID: 2815 RVA: 0x0004D411 File Offset: 0x0004B611
		private void ColorPropertyChangedListenerOf_widget_2_0(PropertyOwnerObject propertyOwnerObject, string propertyName, Color e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2_0(propertyName);
		}

		// Token: 0x06000B00 RID: 2816 RVA: 0x0004D41A File Offset: 0x0004B61A
		private void HandleWidgetPropertyChangeOf_widget_2_0(string propertyName)
		{
			if (propertyName == "KeyID")
			{
				this._datasource_Root_SelectionKey.KeyID = this._widget_2_0.KeyID;
				return;
			}
		}

		// Token: 0x06000B01 RID: 2817 RVA: 0x0004D440 File Offset: 0x0004B640
		private void PropertyChangedListenerOf_widget_5(PropertyOwnerObject propertyOwnerObject, string propertyName, object e)
		{
			this.HandleWidgetPropertyChangeOf_widget_5(propertyName);
		}

		// Token: 0x06000B02 RID: 2818 RVA: 0x0004D449 File Offset: 0x0004B649
		private void boolPropertyChangedListenerOf_widget_5(PropertyOwnerObject propertyOwnerObject, string propertyName, bool e)
		{
			this.HandleWidgetPropertyChangeOf_widget_5(propertyName);
		}

		// Token: 0x06000B03 RID: 2819 RVA: 0x0004D452 File Offset: 0x0004B652
		private void floatPropertyChangedListenerOf_widget_5(PropertyOwnerObject propertyOwnerObject, string propertyName, float e)
		{
			this.HandleWidgetPropertyChangeOf_widget_5(propertyName);
		}

		// Token: 0x06000B04 RID: 2820 RVA: 0x0004D45B File Offset: 0x0004B65B
		private void Vec2PropertyChangedListenerOf_widget_5(PropertyOwnerObject propertyOwnerObject, string propertyName, Vec2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_5(propertyName);
		}

		// Token: 0x06000B05 RID: 2821 RVA: 0x0004D464 File Offset: 0x0004B664
		private void Vector2PropertyChangedListenerOf_widget_5(PropertyOwnerObject propertyOwnerObject, string propertyName, Vector2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_5(propertyName);
		}

		// Token: 0x06000B06 RID: 2822 RVA: 0x0004D46D File Offset: 0x0004B66D
		private void doublePropertyChangedListenerOf_widget_5(PropertyOwnerObject propertyOwnerObject, string propertyName, double e)
		{
			this.HandleWidgetPropertyChangeOf_widget_5(propertyName);
		}

		// Token: 0x06000B07 RID: 2823 RVA: 0x0004D476 File Offset: 0x0004B676
		private void intPropertyChangedListenerOf_widget_5(PropertyOwnerObject propertyOwnerObject, string propertyName, int e)
		{
			this.HandleWidgetPropertyChangeOf_widget_5(propertyName);
		}

		// Token: 0x06000B08 RID: 2824 RVA: 0x0004D47F File Offset: 0x0004B67F
		private void uintPropertyChangedListenerOf_widget_5(PropertyOwnerObject propertyOwnerObject, string propertyName, uint e)
		{
			this.HandleWidgetPropertyChangeOf_widget_5(propertyName);
		}

		// Token: 0x06000B09 RID: 2825 RVA: 0x0004D488 File Offset: 0x0004B688
		private void ColorPropertyChangedListenerOf_widget_5(PropertyOwnerObject propertyOwnerObject, string propertyName, Color e)
		{
			this.HandleWidgetPropertyChangeOf_widget_5(propertyName);
		}

		// Token: 0x06000B0A RID: 2826 RVA: 0x0004D491 File Offset: 0x0004B691
		private void HandleWidgetPropertyChangeOf_widget_5(string propertyName)
		{
			if (propertyName == "AdditionalArgs")
			{
				return;
			}
			if (propertyName == "ImageId")
			{
				return;
			}
			propertyName == "ImageTypeCode";
		}

		// Token: 0x06000B0B RID: 2827 RVA: 0x0004D4BB File Offset: 0x0004B6BB
		private void ViewModelPropertyChangedListenerOf_datasource_Root(object sender, PropertyChangedEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000B0C RID: 2828 RVA: 0x0004D4C9 File Offset: 0x0004B6C9
		private void ViewModelPropertyChangedWithValueListenerOf_datasource_Root(object sender, PropertyChangedWithValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000B0D RID: 2829 RVA: 0x0004D4D7 File Offset: 0x0004B6D7
		private void ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root(object sender, PropertyChangedWithBoolValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000B0E RID: 2830 RVA: 0x0004D4E5 File Offset: 0x0004B6E5
		private void ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root(object sender, PropertyChangedWithIntValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000B0F RID: 2831 RVA: 0x0004D4F3 File Offset: 0x0004B6F3
		private void ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root(object sender, PropertyChangedWithFloatValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000B10 RID: 2832 RVA: 0x0004D501 File Offset: 0x0004B701
		private void ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root(object sender, PropertyChangedWithUIntValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000B11 RID: 2833 RVA: 0x0004D50F File Offset: 0x0004B70F
		private void ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root(object sender, PropertyChangedWithColorValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000B12 RID: 2834 RVA: 0x0004D51D File Offset: 0x0004B71D
		private void ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root(object sender, PropertyChangedWithDoubleValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000B13 RID: 2835 RVA: 0x0004D52B File Offset: 0x0004B72B
		private void ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root(object sender, PropertyChangedWithVec2ValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000B14 RID: 2836 RVA: 0x0004D53C File Offset: 0x0004B73C
		private void HandleViewModelPropertyChangeOf_datasource_Root(string propertyName)
		{
			if (propertyName == "ActiveFormationClasses")
			{
				this.RefreshDataSource_datasource_Root_ActiveFormationClasses(this._datasource_Root.ActiveFormationClasses);
				return;
			}
			if (propertyName == "SelectionKey")
			{
				this.RefreshDataSource_datasource_Root_SelectionKey(this._datasource_Root.SelectionKey);
				return;
			}
			if (propertyName == "CommanderImageIdentifier")
			{
				this.RefreshDataSource_datasource_Root_CommanderImageIdentifier(this._datasource_Root.CommanderImageIdentifier);
				return;
			}
			if (propertyName == "ActiveFilters")
			{
				this.RefreshDataSource_datasource_Root_ActiveFilters(this._datasource_Root.ActiveFilters);
				return;
			}
			if (propertyName == "OrderOfBattleFormationClass")
			{
				return;
			}
			if (propertyName == "Morale")
			{
				this._widget_1_1.IntText = this._datasource_Root.Morale;
				return;
			}
			if (propertyName == "HaveTroops")
			{
				this._widget_1_1.IsVisible = this._datasource_Root.HaveTroops;
				this._widget_2.IsVisible = this._datasource_Root.HaveTroops;
				return;
			}
			if (propertyName == "AmmoPercentage")
			{
				this._widget_3.ValueFloat = this._datasource_Root.AmmoPercentage;
				return;
			}
			if (propertyName == "IsAmmoAvailable")
			{
				this._widget_3.IsVisible = this._datasource_Root.IsAmmoAvailable;
				return;
			}
		}

		// Token: 0x06000B15 RID: 2837 RVA: 0x0004D679 File Offset: 0x0004B879
		private void ViewModelPropertyChangedListenerOf_datasource_Root_SelectionKey(object sender, PropertyChangedEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(e.PropertyName);
		}

		// Token: 0x06000B16 RID: 2838 RVA: 0x0004D687 File Offset: 0x0004B887
		private void ViewModelPropertyChangedWithValueListenerOf_datasource_Root_SelectionKey(object sender, PropertyChangedWithValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(e.PropertyName);
		}

		// Token: 0x06000B17 RID: 2839 RVA: 0x0004D695 File Offset: 0x0004B895
		private void ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_SelectionKey(object sender, PropertyChangedWithBoolValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(e.PropertyName);
		}

		// Token: 0x06000B18 RID: 2840 RVA: 0x0004D6A3 File Offset: 0x0004B8A3
		private void ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_SelectionKey(object sender, PropertyChangedWithIntValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(e.PropertyName);
		}

		// Token: 0x06000B19 RID: 2841 RVA: 0x0004D6B1 File Offset: 0x0004B8B1
		private void ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_SelectionKey(object sender, PropertyChangedWithFloatValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(e.PropertyName);
		}

		// Token: 0x06000B1A RID: 2842 RVA: 0x0004D6BF File Offset: 0x0004B8BF
		private void ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_SelectionKey(object sender, PropertyChangedWithUIntValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(e.PropertyName);
		}

		// Token: 0x06000B1B RID: 2843 RVA: 0x0004D6CD File Offset: 0x0004B8CD
		private void ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_SelectionKey(object sender, PropertyChangedWithColorValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(e.PropertyName);
		}

		// Token: 0x06000B1C RID: 2844 RVA: 0x0004D6DB File Offset: 0x0004B8DB
		private void ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_SelectionKey(object sender, PropertyChangedWithDoubleValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(e.PropertyName);
		}

		// Token: 0x06000B1D RID: 2845 RVA: 0x0004D6E9 File Offset: 0x0004B8E9
		private void ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_SelectionKey(object sender, PropertyChangedWithVec2ValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(e.PropertyName);
		}

		// Token: 0x06000B1E RID: 2846 RVA: 0x0004D6F7 File Offset: 0x0004B8F7
		private void HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(string propertyName)
		{
			if (propertyName == "KeyID")
			{
				this._widget_2_0.KeyID = this._datasource_Root_SelectionKey.KeyID;
				return;
			}
		}

		// Token: 0x06000B1F RID: 2847 RVA: 0x0004D71D File Offset: 0x0004B91D
		private void ViewModelPropertyChangedListenerOf_datasource_Root_CommanderImageIdentifier(object sender, PropertyChangedEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(e.PropertyName);
		}

		// Token: 0x06000B20 RID: 2848 RVA: 0x0004D72B File Offset: 0x0004B92B
		private void ViewModelPropertyChangedWithValueListenerOf_datasource_Root_CommanderImageIdentifier(object sender, PropertyChangedWithValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(e.PropertyName);
		}

		// Token: 0x06000B21 RID: 2849 RVA: 0x0004D739 File Offset: 0x0004B939
		private void ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_CommanderImageIdentifier(object sender, PropertyChangedWithBoolValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(e.PropertyName);
		}

		// Token: 0x06000B22 RID: 2850 RVA: 0x0004D747 File Offset: 0x0004B947
		private void ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_CommanderImageIdentifier(object sender, PropertyChangedWithIntValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(e.PropertyName);
		}

		// Token: 0x06000B23 RID: 2851 RVA: 0x0004D755 File Offset: 0x0004B955
		private void ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_CommanderImageIdentifier(object sender, PropertyChangedWithFloatValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(e.PropertyName);
		}

		// Token: 0x06000B24 RID: 2852 RVA: 0x0004D763 File Offset: 0x0004B963
		private void ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_CommanderImageIdentifier(object sender, PropertyChangedWithUIntValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(e.PropertyName);
		}

		// Token: 0x06000B25 RID: 2853 RVA: 0x0004D771 File Offset: 0x0004B971
		private void ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_CommanderImageIdentifier(object sender, PropertyChangedWithColorValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(e.PropertyName);
		}

		// Token: 0x06000B26 RID: 2854 RVA: 0x0004D77F File Offset: 0x0004B97F
		private void ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_CommanderImageIdentifier(object sender, PropertyChangedWithDoubleValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(e.PropertyName);
		}

		// Token: 0x06000B27 RID: 2855 RVA: 0x0004D78D File Offset: 0x0004B98D
		private void ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_CommanderImageIdentifier(object sender, PropertyChangedWithVec2ValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(e.PropertyName);
		}

		// Token: 0x06000B28 RID: 2856 RVA: 0x0004D79C File Offset: 0x0004B99C
		private void HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(string propertyName)
		{
			if (propertyName == "AdditionalArgs")
			{
				this._widget_5.AdditionalArgs = this._datasource_Root_CommanderImageIdentifier.AdditionalArgs;
				return;
			}
			if (propertyName == "Id")
			{
				this._widget_5.ImageId = this._datasource_Root_CommanderImageIdentifier.Id;
				return;
			}
			if (propertyName == "ImageTypeCode")
			{
				this._widget_5.ImageTypeCode = this._datasource_Root_CommanderImageIdentifier.ImageTypeCode;
				return;
			}
		}

		// Token: 0x06000B29 RID: 2857 RVA: 0x0004D818 File Offset: 0x0004BA18
		public void OnList_datasource_Root_ActiveFormationClassesChanged(object sender, ListChangedEventArgs e)
		{
			switch (e.ListChangedType)
			{
			case 0:
				for (int i = this._widget_0.ChildCount - 1; i >= 0; i--)
				{
					Widget child = this._widget_0.GetChild(i);
					((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate)child).OnBeforeRemovedChild(child);
					Widget child2 = this._widget_0.GetChild(i);
					((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate)child2).SetDataSource(null);
					this._widget_0.RemoveChild(child2);
				}
				return;
			case 1:
				for (int j = 0; j < this._datasource_Root_ActiveFormationClasses.Count; j++)
				{
					OrderTroopItemFormationClassVM bindingObject = this._datasource_Root_ActiveFormationClasses[j];
					this._widget_0.FindChild((Widget widget) => widget.GetComponent<GeneratedWidgetData>().Data == bindingObject).SetSiblingIndex(j, false);
				}
				return;
			case 2:
			{
				OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate = new OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate(base.Context);
				GeneratedWidgetData generatedWidgetData = new GeneratedWidgetData(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate);
				OrderTroopItemFormationClassVM orderTroopItemFormationClassVM = this._datasource_Root_ActiveFormationClasses[e.NewIndex];
				generatedWidgetData.Data = orderTroopItemFormationClassVM;
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate.AddComponent(generatedWidgetData);
				this._widget_0.AddChildAtIndex(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate, e.NewIndex);
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate.CreateWidgets();
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate.SetIds();
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate.SetAttributes();
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate.SetDataSource(orderTroopItemFormationClassVM);
				return;
			}
			case 3:
			{
				Widget child3 = this._widget_0.GetChild(e.NewIndex);
				((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate)child3).OnBeforeRemovedChild(child3);
				return;
			}
			case 4:
			{
				Widget child4 = this._widget_0.GetChild(e.NewIndex);
				((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate)child4).SetDataSource(null);
				this._widget_0.RemoveChild(child4);
				break;
			}
			case 5:
				break;
			default:
				return;
			}
		}

		// Token: 0x06000B2A RID: 2858 RVA: 0x0004D9B4 File Offset: 0x0004BBB4
		public void OnList_datasource_Root_ActiveFiltersChanged(object sender, ListChangedEventArgs e)
		{
			switch (e.ListChangedType)
			{
			case 0:
				for (int i = this._widget_6.ChildCount - 1; i >= 0; i--)
				{
					Widget child = this._widget_6.GetChild(i);
					((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate)child).OnBeforeRemovedChild(child);
					Widget child2 = this._widget_6.GetChild(i);
					((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate)child2).SetDataSource(null);
					this._widget_6.RemoveChild(child2);
				}
				return;
			case 1:
				for (int j = 0; j < this._datasource_Root_ActiveFilters.Count; j++)
				{
					OrderTroopItemFilterVM bindingObject = this._datasource_Root_ActiveFilters[j];
					this._widget_6.FindChild((Widget widget) => widget.GetComponent<GeneratedWidgetData>().Data == bindingObject).SetSiblingIndex(j, false);
				}
				return;
			case 2:
			{
				OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate = new OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate(base.Context);
				GeneratedWidgetData generatedWidgetData = new GeneratedWidgetData(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate);
				OrderTroopItemFilterVM orderTroopItemFilterVM = this._datasource_Root_ActiveFilters[e.NewIndex];
				generatedWidgetData.Data = orderTroopItemFilterVM;
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate.AddComponent(generatedWidgetData);
				this._widget_6.AddChildAtIndex(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate, e.NewIndex);
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate.CreateWidgets();
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate.SetIds();
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate.SetAttributes();
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate.SetDataSource(orderTroopItemFilterVM);
				return;
			}
			case 3:
			{
				Widget child3 = this._widget_6.GetChild(e.NewIndex);
				((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate)child3).OnBeforeRemovedChild(child3);
				return;
			}
			case 4:
			{
				Widget child4 = this._widget_6.GetChild(e.NewIndex);
				((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate)child4).SetDataSource(null);
				this._widget_6.RemoveChild(child4);
				break;
			}
			case 5:
				break;
			default:
				return;
			}
		}

		// Token: 0x06000B2B RID: 2859 RVA: 0x0004DB50 File Offset: 0x0004BD50
		private void RefreshDataSource_datasource_Root(OrderTroopItemVM newDataSource)
		{
			if (this._datasource_Root != null)
			{
				this._datasource_Root.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root;
				this._datasource_Root.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root);
				this._widget.PropertyChanged -= this.PropertyChangedListenerOf_widget;
				this._widget.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget;
				this._widget.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget;
				this._widget.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget;
				this._widget.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget;
				this._widget.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget;
				this._widget.intPropertyChanged -= this.intPropertyChangedListenerOf_widget;
				this._widget.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget;
				this._widget.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget;
				this._widget_1_1.PropertyChanged -= this.PropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_1_1;
				this._widget_2.PropertyChanged -= this.PropertyChangedListenerOf_widget_2;
				this._widget_2.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_2;
				this._widget_2.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_2;
				this._widget_2.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_2;
				this._widget_2.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_2;
				this._widget_2.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_2;
				this._widget_2.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_2;
				this._widget_2.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_2;
				this._widget_2.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_2;
				this._widget_3.PropertyChanged -= this.PropertyChangedListenerOf_widget_3;
				this._widget_3.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_3;
				this._widget_3.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_3;
				this._widget_3.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_3;
				this._widget_3.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_3;
				this._widget_3.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_3;
				this._widget_3.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_3;
				this._widget_3.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_3;
				this._widget_3.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_3;
				if (this._datasource_Root_ActiveFormationClasses != null)
				{
					this._datasource_Root_ActiveFormationClasses.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFormationClassesChanged);
					for (int i = this._widget_0.ChildCount - 1; i >= 0; i--)
					{
						Widget child = this._widget_0.GetChild(i);
						((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate)child).OnBeforeRemovedChild(child);
						Widget child2 = this._widget_0.GetChild(i);
						((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate)child2).SetDataSource(null);
						this._widget_0.RemoveChild(child2);
					}
					this._datasource_Root_ActiveFormationClasses = null;
				}
				if (this._datasource_Root_SelectionKey != null)
				{
					this._datasource_Root_SelectionKey.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root_SelectionKey;
					this._datasource_Root_SelectionKey.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_SelectionKey);
					this._widget_2_0.PropertyChanged -= this.PropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_2_0;
					this._datasource_Root_SelectionKey = null;
				}
				if (this._datasource_Root_CommanderImageIdentifier != null)
				{
					this._datasource_Root_CommanderImageIdentifier.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root_CommanderImageIdentifier;
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._widget_5.PropertyChanged -= this.PropertyChangedListenerOf_widget_5;
					this._widget_5.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_5;
					this._widget_5.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_5;
					this._widget_5.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_5;
					this._widget_5.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_5;
					this._widget_5.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_5;
					this._widget_5.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_5;
					this._widget_5.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_5;
					this._widget_5.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_5;
					this._datasource_Root_CommanderImageIdentifier = null;
				}
				if (this._datasource_Root_ActiveFilters != null)
				{
					this._datasource_Root_ActiveFilters.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFiltersChanged);
					for (int j = this._widget_6.ChildCount - 1; j >= 0; j--)
					{
						Widget child3 = this._widget_6.GetChild(j);
						((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate)child3).OnBeforeRemovedChild(child3);
						Widget child4 = this._widget_6.GetChild(j);
						((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate)child4).SetDataSource(null);
						this._widget_6.RemoveChild(child4);
					}
					this._datasource_Root_ActiveFilters = null;
				}
				this._datasource_Root = null;
			}
			this._datasource_Root = newDataSource;
			if (this._datasource_Root != null)
			{
				this._datasource_Root.PropertyChanged += this.ViewModelPropertyChangedListenerOf_datasource_Root;
				this._datasource_Root.PropertyChangedWithValue += new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithBoolValue += new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithIntValue += new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithFloatValue += new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithUIntValue += new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithColorValue += new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithDoubleValue += new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithVec2Value += new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root);
				this._widget.PropertyChanged += this.PropertyChangedListenerOf_widget;
				this._widget.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget;
				this._widget.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget;
				this._widget.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget;
				this._widget.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget;
				this._widget.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget;
				this._widget.intPropertyChanged += this.intPropertyChangedListenerOf_widget;
				this._widget.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget;
				this._widget.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget;
				this._widget_1_1.IntText = this._datasource_Root.Morale;
				this._widget_1_1.IsVisible = this._datasource_Root.HaveTroops;
				this._widget_1_1.PropertyChanged += this.PropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.intPropertyChanged += this.intPropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_1_1;
				this._widget_1_1.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_1_1;
				this._widget_2.IsVisible = this._datasource_Root.HaveTroops;
				this._widget_2.PropertyChanged += this.PropertyChangedListenerOf_widget_2;
				this._widget_2.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_2;
				this._widget_2.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_2;
				this._widget_2.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_2;
				this._widget_2.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_2;
				this._widget_2.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_2;
				this._widget_2.intPropertyChanged += this.intPropertyChangedListenerOf_widget_2;
				this._widget_2.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_2;
				this._widget_2.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_2;
				this._widget_3.ValueFloat = this._datasource_Root.AmmoPercentage;
				this._widget_3.IsVisible = this._datasource_Root.IsAmmoAvailable;
				this._widget_3.PropertyChanged += this.PropertyChangedListenerOf_widget_3;
				this._widget_3.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_3;
				this._widget_3.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_3;
				this._widget_3.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_3;
				this._widget_3.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_3;
				this._widget_3.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_3;
				this._widget_3.intPropertyChanged += this.intPropertyChangedListenerOf_widget_3;
				this._widget_3.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_3;
				this._widget_3.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_3;
				this._datasource_Root_ActiveFormationClasses = this._datasource_Root.ActiveFormationClasses;
				if (this._datasource_Root_ActiveFormationClasses != null)
				{
					this._datasource_Root_ActiveFormationClasses.ListChanged += new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFormationClassesChanged);
					for (int k = 0; k < this._datasource_Root_ActiveFormationClasses.Count; k++)
					{
						OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate = new OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate(base.Context);
						GeneratedWidgetData generatedWidgetData = new GeneratedWidgetData(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate);
						OrderTroopItemFormationClassVM orderTroopItemFormationClassVM = this._datasource_Root_ActiveFormationClasses[k];
						generatedWidgetData.Data = orderTroopItemFormationClassVM;
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate.AddComponent(generatedWidgetData);
						this._widget_0.AddChildAtIndex(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate, k);
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate.CreateWidgets();
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate.SetIds();
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate.SetAttributes();
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate.SetDataSource(orderTroopItemFormationClassVM);
					}
				}
				this._datasource_Root_SelectionKey = this._datasource_Root.SelectionKey;
				if (this._datasource_Root_SelectionKey != null)
				{
					this._datasource_Root_SelectionKey.PropertyChanged += this.ViewModelPropertyChangedListenerOf_datasource_Root_SelectionKey;
					this._datasource_Root_SelectionKey.PropertyChangedWithValue += new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithBoolValue += new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithIntValue += new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithFloatValue += new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithUIntValue += new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithColorValue += new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithDoubleValue += new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithVec2Value += new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_SelectionKey);
					this._widget_2_0.KeyID = this._datasource_Root_SelectionKey.KeyID;
					this._widget_2_0.PropertyChanged += this.PropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.intPropertyChanged += this.intPropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_2_0;
					this._widget_2_0.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_2_0;
				}
				this._datasource_Root_CommanderImageIdentifier = this._datasource_Root.CommanderImageIdentifier;
				if (this._datasource_Root_CommanderImageIdentifier != null)
				{
					this._datasource_Root_CommanderImageIdentifier.PropertyChanged += this.ViewModelPropertyChangedListenerOf_datasource_Root_CommanderImageIdentifier;
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithValue += new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithBoolValue += new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithIntValue += new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithFloatValue += new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithUIntValue += new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithColorValue += new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithDoubleValue += new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithVec2Value += new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._widget_5.AdditionalArgs = this._datasource_Root_CommanderImageIdentifier.AdditionalArgs;
					this._widget_5.ImageId = this._datasource_Root_CommanderImageIdentifier.Id;
					this._widget_5.ImageTypeCode = this._datasource_Root_CommanderImageIdentifier.ImageTypeCode;
					this._widget_5.PropertyChanged += this.PropertyChangedListenerOf_widget_5;
					this._widget_5.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_5;
					this._widget_5.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_5;
					this._widget_5.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_5;
					this._widget_5.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_5;
					this._widget_5.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_5;
					this._widget_5.intPropertyChanged += this.intPropertyChangedListenerOf_widget_5;
					this._widget_5.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_5;
					this._widget_5.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_5;
				}
				this._datasource_Root_ActiveFilters = this._datasource_Root.ActiveFilters;
				if (this._datasource_Root_ActiveFilters != null)
				{
					this._datasource_Root_ActiveFilters.ListChanged += new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFiltersChanged);
					for (int l = 0; l < this._datasource_Root_ActiveFilters.Count; l++)
					{
						OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate = new OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate(base.Context);
						GeneratedWidgetData generatedWidgetData2 = new GeneratedWidgetData(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate);
						OrderTroopItemFilterVM orderTroopItemFilterVM = this._datasource_Root_ActiveFilters[l];
						generatedWidgetData2.Data = orderTroopItemFilterVM;
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate.AddComponent(generatedWidgetData2);
						this._widget_6.AddChildAtIndex(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate, l);
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate.CreateWidgets();
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate.SetIds();
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate.SetAttributes();
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate.SetDataSource(orderTroopItemFilterVM);
					}
				}
			}
		}

		// Token: 0x06000B2C RID: 2860 RVA: 0x0004ED94 File Offset: 0x0004CF94
		private void RefreshDataSource_datasource_Root_ActiveFormationClasses(MBBindingList<OrderTroopItemFormationClassVM> newDataSource)
		{
			if (this._datasource_Root_ActiveFormationClasses != null)
			{
				this._datasource_Root_ActiveFormationClasses.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFormationClassesChanged);
				for (int i = this._widget_0.ChildCount - 1; i >= 0; i--)
				{
					Widget child = this._widget_0.GetChild(i);
					((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate)child).OnBeforeRemovedChild(child);
					Widget child2 = this._widget_0.GetChild(i);
					((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate)child2).SetDataSource(null);
					this._widget_0.RemoveChild(child2);
				}
				this._datasource_Root_ActiveFormationClasses = null;
			}
			this._datasource_Root_ActiveFormationClasses = newDataSource;
			this._datasource_Root_ActiveFormationClasses = this._datasource_Root.ActiveFormationClasses;
			if (this._datasource_Root_ActiveFormationClasses != null)
			{
				this._datasource_Root_ActiveFormationClasses.ListChanged += new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFormationClassesChanged);
				for (int j = 0; j < this._datasource_Root_ActiveFormationClasses.Count; j++)
				{
					OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate = new OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate(base.Context);
					GeneratedWidgetData generatedWidgetData = new GeneratedWidgetData(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate);
					OrderTroopItemFormationClassVM orderTroopItemFormationClassVM = this._datasource_Root_ActiveFormationClasses[j];
					generatedWidgetData.Data = orderTroopItemFormationClassVM;
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate.AddComponent(generatedWidgetData);
					this._widget_0.AddChildAtIndex(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate, j);
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate.CreateWidgets();
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate.SetIds();
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate.SetAttributes();
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_17_ItemTemplate.SetDataSource(orderTroopItemFormationClassVM);
				}
			}
		}

		// Token: 0x06000B2D RID: 2861 RVA: 0x0004EED0 File Offset: 0x0004D0D0
		private void RefreshDataSource_datasource_Root_SelectionKey(InputKeyItemVM newDataSource)
		{
			if (this._datasource_Root_SelectionKey != null)
			{
				this._datasource_Root_SelectionKey.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root_SelectionKey;
				this._datasource_Root_SelectionKey.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_SelectionKey);
				this._widget_2_0.PropertyChanged -= this.PropertyChangedListenerOf_widget_2_0;
				this._widget_2_0.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_2_0;
				this._widget_2_0.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_2_0;
				this._widget_2_0.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_2_0;
				this._widget_2_0.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_2_0;
				this._widget_2_0.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_2_0;
				this._widget_2_0.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_2_0;
				this._widget_2_0.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_2_0;
				this._widget_2_0.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_2_0;
				this._datasource_Root_SelectionKey = null;
			}
			this._datasource_Root_SelectionKey = newDataSource;
			this._datasource_Root_SelectionKey = this._datasource_Root.SelectionKey;
			if (this._datasource_Root_SelectionKey != null)
			{
				this._datasource_Root_SelectionKey.PropertyChanged += this.ViewModelPropertyChangedListenerOf_datasource_Root_SelectionKey;
				this._datasource_Root_SelectionKey.PropertyChangedWithValue += new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithBoolValue += new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithIntValue += new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithFloatValue += new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithUIntValue += new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithColorValue += new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithDoubleValue += new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithVec2Value += new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_SelectionKey);
				this._widget_2_0.KeyID = this._datasource_Root_SelectionKey.KeyID;
				this._widget_2_0.PropertyChanged += this.PropertyChangedListenerOf_widget_2_0;
				this._widget_2_0.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_2_0;
				this._widget_2_0.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_2_0;
				this._widget_2_0.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_2_0;
				this._widget_2_0.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_2_0;
				this._widget_2_0.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_2_0;
				this._widget_2_0.intPropertyChanged += this.intPropertyChangedListenerOf_widget_2_0;
				this._widget_2_0.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_2_0;
				this._widget_2_0.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_2_0;
			}
		}

		// Token: 0x06000B2E RID: 2862 RVA: 0x0004F264 File Offset: 0x0004D464
		private void RefreshDataSource_datasource_Root_CommanderImageIdentifier(ImageIdentifierVM newDataSource)
		{
			if (this._datasource_Root_CommanderImageIdentifier != null)
			{
				this._datasource_Root_CommanderImageIdentifier.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root_CommanderImageIdentifier;
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._widget_5.PropertyChanged -= this.PropertyChangedListenerOf_widget_5;
				this._widget_5.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_5;
				this._widget_5.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_5;
				this._widget_5.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_5;
				this._widget_5.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_5;
				this._widget_5.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_5;
				this._widget_5.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_5;
				this._widget_5.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_5;
				this._widget_5.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_5;
				this._datasource_Root_CommanderImageIdentifier = null;
			}
			this._datasource_Root_CommanderImageIdentifier = newDataSource;
			this._datasource_Root_CommanderImageIdentifier = this._datasource_Root.CommanderImageIdentifier;
			if (this._datasource_Root_CommanderImageIdentifier != null)
			{
				this._datasource_Root_CommanderImageIdentifier.PropertyChanged += this.ViewModelPropertyChangedListenerOf_datasource_Root_CommanderImageIdentifier;
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithValue += new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithBoolValue += new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithIntValue += new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithFloatValue += new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithUIntValue += new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithColorValue += new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithDoubleValue += new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithVec2Value += new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._widget_5.AdditionalArgs = this._datasource_Root_CommanderImageIdentifier.AdditionalArgs;
				this._widget_5.ImageId = this._datasource_Root_CommanderImageIdentifier.Id;
				this._widget_5.ImageTypeCode = this._datasource_Root_CommanderImageIdentifier.ImageTypeCode;
				this._widget_5.PropertyChanged += this.PropertyChangedListenerOf_widget_5;
				this._widget_5.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_5;
				this._widget_5.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_5;
				this._widget_5.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_5;
				this._widget_5.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_5;
				this._widget_5.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_5;
				this._widget_5.intPropertyChanged += this.intPropertyChangedListenerOf_widget_5;
				this._widget_5.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_5;
				this._widget_5.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_5;
			}
		}

		// Token: 0x06000B2F RID: 2863 RVA: 0x0004F624 File Offset: 0x0004D824
		private void RefreshDataSource_datasource_Root_ActiveFilters(MBBindingList<OrderTroopItemFilterVM> newDataSource)
		{
			if (this._datasource_Root_ActiveFilters != null)
			{
				this._datasource_Root_ActiveFilters.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFiltersChanged);
				for (int i = this._widget_6.ChildCount - 1; i >= 0; i--)
				{
					Widget child = this._widget_6.GetChild(i);
					((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate)child).OnBeforeRemovedChild(child);
					Widget child2 = this._widget_6.GetChild(i);
					((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate)child2).SetDataSource(null);
					this._widget_6.RemoveChild(child2);
				}
				this._datasource_Root_ActiveFilters = null;
			}
			this._datasource_Root_ActiveFilters = newDataSource;
			this._datasource_Root_ActiveFilters = this._datasource_Root.ActiveFilters;
			if (this._datasource_Root_ActiveFilters != null)
			{
				this._datasource_Root_ActiveFilters.ListChanged += new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFiltersChanged);
				for (int j = 0; j < this._datasource_Root_ActiveFilters.Count; j++)
				{
					OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate = new OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate(base.Context);
					GeneratedWidgetData generatedWidgetData = new GeneratedWidgetData(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate);
					OrderTroopItemFilterVM orderTroopItemFilterVM = this._datasource_Root_ActiveFilters[j];
					generatedWidgetData.Data = orderTroopItemFilterVM;
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate.AddComponent(generatedWidgetData);
					this._widget_6.AddChildAtIndex(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate, j);
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate.CreateWidgets();
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate.SetIds();
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate.SetAttributes();
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_18_ItemTemplate.SetDataSource(orderTroopItemFilterVM);
				}
			}
		}

		// Token: 0x040001B1 RID: 433
		private OrderTroopItemBrushWidget _widget;

		// Token: 0x040001B2 RID: 434
		private GridWidget _widget_0;

		// Token: 0x040001B3 RID: 435
		private ListPanel _widget_1;

		// Token: 0x040001B4 RID: 436
		private Widget _widget_1_0;

		// Token: 0x040001B5 RID: 437
		private TextWidget _widget_1_1;

		// Token: 0x040001B6 RID: 438
		private Widget _widget_2;

		// Token: 0x040001B7 RID: 439
		private InputKeyVisualWidget _widget_2_0;

		// Token: 0x040001B8 RID: 440
		private SliderWidget _widget_3;

		// Token: 0x040001B9 RID: 441
		private Widget _widget_3_0;

		// Token: 0x040001BA RID: 442
		private Widget _widget_3_1;

		// Token: 0x040001BB RID: 443
		private Widget _widget_4;

		// Token: 0x040001BC RID: 444
		private ImageIdentifierWidget _widget_5;

		// Token: 0x040001BD RID: 445
		private GridWidget _widget_6;

		// Token: 0x040001BE RID: 446
		private OrderTroopItemVM _datasource_Root;

		// Token: 0x040001BF RID: 447
		private MBBindingList<OrderTroopItemFormationClassVM> _datasource_Root_ActiveFormationClasses;

		// Token: 0x040001C0 RID: 448
		private InputKeyItemVM _datasource_Root_SelectionKey;

		// Token: 0x040001C1 RID: 449
		private ImageIdentifierVM _datasource_Root_CommanderImageIdentifier;

		// Token: 0x040001C2 RID: 450
		private MBBindingList<OrderTroopItemFilterVM> _datasource_Root_ActiveFilters;
	}
}
